package com.yilin.platform.entity.pab;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yilin.platform.base_core.application.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "pab_docking_log")
@TableName(value = "pab_docking_log")
public class PabDockingLog extends BaseEntity {

    @Column(name = "req_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date reqTime;//请求时间
    @Column(name = "title")
    private String title;//请求标题
    @Column(name = "res_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date resTime;//响应时间
    @Column(name = "req_xml" ,columnDefinition="TEXT")
    private String reqXml;//请求XML
    @Column(name = "res_xml",columnDefinition="TEXT" )
    private String resXml;//响应XML

    @Column(name = "docking_pass")
    private Boolean dockingPass;// isPASS


    public Date getReqTime() {
        return reqTime;
    }

    public void setReqTime(Date reqTime) {
        this.reqTime = reqTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getResTime() {
        return resTime;
    }

    public void setResTime(Date resTime) {
        this.resTime = resTime;
    }

    public String getReqXml() {
        return reqXml;
    }

    public void setReqXml(String reqXml) {
        this.reqXml = reqXml;
    }

    public String getResXml() {
        return resXml;
    }

    public void setResXml(String resXml) {
        this.resXml = resXml;
    }

    public Boolean getDockingPass() {
        return dockingPass;
    }

    public void setDockingPass(Boolean dockingPass) {
        this.dockingPass = dockingPass;
    }
}
